service

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: BSD-3-Clause Imports: 13 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceClass

type ServiceClass struct {
	Mux *http.ServeMux
	// contains filtered or unexported fields
}

func (*ServiceClass) AddRoute added in v1.0.2

func (this *ServiceClass) AddRoute(routes ...*api.Api)

func (*ServiceClass) GetAccessHost

func (this *ServiceClass) GetAccessHost() string

func (*ServiceClass) GetAccessPort

func (this *ServiceClass) GetAccessPort() uint64

func (*ServiceClass) GetApis

func (this *ServiceClass) GetApis() []*api.Api

func (*ServiceClass) GetDescription

func (this *ServiceClass) GetDescription() string

func (*ServiceClass) GetHost

func (this *ServiceClass) GetHost() string

func (*ServiceClass) GetName

func (this *ServiceClass) GetName() string

func (*ServiceClass) GetPath

func (this *ServiceClass) GetPath() string

func (*ServiceClass) GetPort

func (this *ServiceClass) GetPort() uint64

func (*ServiceClass) Run

func (this *ServiceClass) Run()

func (*ServiceClass) SetAccessHost

func (this *ServiceClass) SetAccessHost(accessHost string)

func (*ServiceClass) SetAccessPort

func (this *ServiceClass) SetAccessPort(accessPort uint64)

func (*ServiceClass) SetDescription

func (this *ServiceClass) SetDescription(desc string)

func (*ServiceClass) SetHealthyCheckFunc

func (this *ServiceClass) SetHealthyCheckFunc(func_ func()) *ServiceClass

func (*ServiceClass) SetHost

func (this *ServiceClass) SetHost(host string)

func (*ServiceClass) SetName

func (this *ServiceClass) SetName(name string)

func (*ServiceClass) SetPath

func (this *ServiceClass) SetPath(path string)

func (*ServiceClass) SetPort

func (this *ServiceClass) SetPort(port uint64)

func (*ServiceClass) SetRoutes

func (this *ServiceClass) SetRoutes(routes ...[]*api.Api)

Jump to

Keyboard shortcuts

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