server

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func InitApp

func InitApp(app *application.Application) error

Types

type GrpcServer

type GrpcServer struct {
	*xgrpc.Server
	Helloworld *service.HelloWorld
}

func NewGrpcServer

func NewGrpcServer(opts *service.HelloWorld) *GrpcServer

func (*GrpcServer) Mux

func (s *GrpcServer) Mux()

type HttpServer

type HttpServer struct {
	*xecho.Server
	controller.Options
}

func NewHttpServer

func NewHttpServer(opts controller.Options) *HttpServer

type Options

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

Jump to

Keyboard shortcuts

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