From 6009623224c7c17f2af1986b634e920bf53c4ac3 Mon Sep 17 00:00:00 2001 From: ZhangJian He Date: Wed, 4 Sep 2024 22:41:11 +0800 Subject: [PATCH] feat: add empty client server (#1) Signed-off-by: ZhangJian He --- opcua/client.go | 12 ++++++++++++ opcua/server.go | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 opcua/client.go create mode 100644 opcua/server.go diff --git a/opcua/client.go b/opcua/client.go new file mode 100644 index 0000000..f71e3f1 --- /dev/null +++ b/opcua/client.go @@ -0,0 +1,12 @@ +package opcua + +type ClientConfig struct { +} + +type Client struct { +} + +func NewClient(config *ClientConfig) *Client { + client := &Client{} + return client +} diff --git a/opcua/server.go b/opcua/server.go new file mode 100644 index 0000000..d6555ba --- /dev/null +++ b/opcua/server.go @@ -0,0 +1,12 @@ +package opcua + +type ServerConfig struct { +} + +type Server struct { +} + +func NewServer(config *ServerConfig) *Server { + server := &Server{} + return server +}