alfa

package
v0.0.0-...-e1c0fc4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlfaService

func NewAlfaService(ctx context.Context, conf config.Config) pb.AlfaServiceServer

NewAlfaService initialises the Alfa service server.

func Serve

func Serve(ctx context.Context, conf config.Config) *server.Server

Serve starts listening and serving requests.

Types

type Service

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

Service represents the Alfa service.

func (*Service) Get

func (s *Service) Get(ctx context.Context, req *empty.Empty) (*pb.Message, error)

Get ...

func (*Service) Set

func (s *Service) Set(ctx context.Context, req *pb.Message) (*empty.Empty, error)

Set ...

func (*Service) Test

func (s *Service) Test(ctx context.Context, req *empty.Empty) (*betapb.Message, error)

Test ...

Directories

Path Synopsis
Package alfa is a generated protocol buffer package.
Package alfa is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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