server

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewHTTPServer)

Functions

This section is empty.

Types

type HTTPServerX added in v1.0.4

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

func (*HTTPServerX) Start added in v1.0.4

func (h *HTTPServerX) Start(ctx context.Context) error

func (*HTTPServerX) Stop added in v1.0.4

func (h *HTTPServerX) Stop(ctx context.Context) error

type InterFace added in v1.0.4

type InterFace interface {
	Start(ctx context.Context) error
	Stop(ctx context.Context) error
}

func NewHTTPServer

func NewHTTPServer(c *conf.Bs, srv *service.Service, logger log.Logger) InterFace

Jump to

Keyboard shortcuts

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