controllers

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthContact

func AuthContact(ctx context.Context) (*models.Contact, string, error)

func AuthMirror

func AuthMirror(ctx context.Context) (*models.Mirror, error)

func StartApi added in v0.2.0

func StartApi(addr, port string)

func StartGateway added in v0.2.0

func StartGateway(addr, port, api string)

Types

type ContactServiceServer

type ContactServiceServer struct {
}

func (*ContactServiceServer) Authorize

func (*ContactServiceServer) Create

func (*ContactServiceServer) Get added in v0.1.2

func (*ContactServiceServer) Update added in v0.1.2

type MirrorServiceServer

type MirrorServiceServer struct {
}

func (*MirrorServiceServer) Connect added in v0.1.3

func (*MirrorServiceServer) Create

func (m *MirrorServiceServer) Create(ctx context.Context, mirror *pb.Mirror) (*pb.Mirror, error)

func (*MirrorServiceServer) Find

func (*MirrorServiceServer) FindById added in v0.1.3

func (m *MirrorServiceServer) FindById(ctx context.Context,
	request *pb.Mirror) (*pb.Mirror, error)

func (*MirrorServiceServer) Get

func (*MirrorServiceServer) UpdateById added in v0.1.3

func (m *MirrorServiceServer) UpdateById(ctx context.Context,
	request *pb.Mirror) (*pb.Mirror, error)

type ServiceServiceServer added in v0.2.0

type ServiceServiceServer struct {
}

func (*ServiceServiceServer) Create added in v0.2.0

func (m *ServiceServiceServer) Create(ctx context.Context, request *pb.Service) (*pb.Service, error)

func (*ServiceServiceServer) Find added in v0.2.0

func (m *ServiceServiceServer) Find(ctx context.Context,
	request *pb.Service) (*pb.Service, error)

func (*ServiceServiceServer) Get added in v0.2.0

func (*ServiceServiceServer) Update added in v0.2.0

func (m *ServiceServiceServer) Update(ctx context.Context,
	request *pb.Service) (*pb.Service, error)

Directories

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

Jump to

Keyboard shortcuts

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