service

package
v1.4.0-alpha Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service.

func New

func New(cfgpath string, d *dao.Dao) *Service

New.

func (*Service) Close

func (s *Service) Close()

Close.

func (*Service) HandPingGrpc added in v1.3.0

func (s *Service) HandPingGrpc(c context.Context) (model.PingCount, error)

grpc

func (*Service) HandPingHttp added in v1.3.0

func (s *Service) HandPingHttp(c context.Context) (model.PingCount, error)

http

func (*Service) Ping

func (s *Service) Ping(c context.Context) (err error)

Ping.

Jump to

Keyboard shortcuts

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