[Update] Define method #5

Merged
trunglt251292 merged 10 commits from v1 into master 2022-03-24 09:49:54 +00:00
1 changed files with 0 additions and 4 deletions
Showing only changes of commit cf96a60a5a - Show all commits

View File

@ -49,10 +49,6 @@ func NewClient(config Config) (*Client, error) {
return client, nil return client, nil
} }
func GetClient() *Client {
return client
}
// requestNats // requestNats
// publish message to nats and waiting response // publish message to nats and waiting response
func requestNats(subject string, data []byte) (*Response, error) { func requestNats(subject string, data []byte) (*Response, error) {