client

package
v0.18.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Id           string
	SecretKey    string
	ServerHost   string
	ServerPort   int
	PoolIdleSize int
	PoolMaxSize  int
	TLS          bool
}

type GateClient

type GateClient struct {
	// contains filtered or unexported fields
}

GateClient ...

func NewGateClient

func NewGateClient(lc fx.Lifecycle,
	eventBus bus.Bus,
	api *api.Api,
	stream *stream.Stream,
	adaptors *adaptors.Adaptors,
	jwtManager jwt_manager.JwtManager) (gate *GateClient)

NewGateClient ...

func (*GateClient) Shutdown

func (g *GateClient) Shutdown() (err error)

Shutdown ...

func (*GateClient) Start

func (g *GateClient) Start() (err error)

Start ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL