service

package
v0.0.0-...-4faaf65 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewOptions

func NewOptions() []grpc.ServerOption

Types

type Service

type Service struct {
	Pattern    string
	Version    string
	Endpoint   endpoint.Endpoint
	Middleware endpoint.Middleware
	*grpc.Server
}

func NewService

func NewService(pattern string, endpoint endpoint.Endpoint, middleware endpoint.Middleware, option []grpc.ServerOption) *Service

func (*Service) Runnable

func (c *Service) Runnable() bool

Runnable determines if the command is itself runnable.

Jump to

Keyboard shortcuts

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