Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultCustomOptions = &CustomOptions{}
)
Functions ¶
This section is empty.
Types ¶
type BaseOptions ¶
type BaseOptions struct { Server ServerOption Registry RegistryOption RateLimit RateLimitOption }
type CustomOptions ¶
type RateLimitOption ¶
type RegistryOption ¶
type RpcXServer ¶
type RpcXServer struct { ServerName string Server *server.Server // contains filtered or unexported fields }
func NewServer ¶
func NewServer() *RpcXServer
func (*RpcXServer) AddOnShutdownAction ¶
func (s *RpcXServer) AddOnShutdownAction(fn func(s *server.Server))
func (*RpcXServer) AddOnStartAction ¶
func (s *RpcXServer) AddOnStartAction(fn func(s *server.Server))
func (*RpcXServer) Start ¶
func (s *RpcXServer) Start()
Click to show internal directories.
Click to hide internal directories.