Documentation ¶
Index ¶
- func NewServer(option api.Option) api.Server
- type Option
- type Options
- func (opt *Options) GetDriver() string
- func (opt *Options) GetGroupName() string
- func (opt *Options) GetGrpcOptions() []grpc.ServerOption
- func (opt *Options) GetIP() string
- func (opt *Options) GetId() string
- func (opt *Options) GetName() string
- func (opt *Options) GetPort() int
- func (opt *Options) GetRegion() string
- func (opt *Options) GetVersion() string
- func (opt *Options) GetZone() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Name string Version string Driver string Id string Region string Zone string GroupName string IP string Port int GrpcOptions []grpc.ServerOption }
func NewOptions ¶
func (*Options) GetGroupName ¶
func (*Options) GetGrpcOptions ¶
func (opt *Options) GetGrpcOptions() []grpc.ServerOption
func (*Options) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.