Skip to content

Commit

Permalink
feat: add client config to client field (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
goflutterjava committed Sep 14, 2024
1 parent dadcc67 commit 50dbc88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opcua/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ type ClientConfig struct {
}

type Client struct {
config *ClientConfig
logger *slog.Logger
}

func NewClient(config *ClientConfig) *Client {
client := &Client{
config: config,
logger: config.logger,
}
return client
Expand Down

0 comments on commit 50dbc88

Please sign in to comment.