Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGrpcServer ¶
Types ¶
type EchoServer ¶
type EchoServer struct {
// contains filtered or unexported fields
}
func (*EchoServer) GetEchoServer ¶
func (e *EchoServer) GetEchoServer() *echo.Echo
func (*EchoServer) Register ¶
func (e *EchoServer) Register(opts ...ServerOptions) Server
type EchoServerConfig ¶
type GinServer ¶
type GinServer struct {
// contains filtered or unexported fields
}
func (*GinServer) GetGinServer ¶
func (*GinServer) Register ¶
func (g *GinServer) Register(opts ...ServerOptions) Server
type GinServerConfig ¶
type Server ¶
type Server interface {
Start(ctx context.Context) error
Shutdown(ctx context.Context) error
Register(opts ...ServerOptions) Server
}
func NewEchoServer ¶
func NewEchoServer(ctx context.Context, cfg *EchoServerConfig, opts ...ServerOptions) (Server, error)
func NewGinServer ¶
func NewGinServer(ctx context.Context, cfg GinServerConfig, opts ...ServerOptions) (Server, error)
type ServerOptions ¶
Click to show internal directories.
Click to hide internal directories.