grpc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalBranchResponse

func MarshalBranchResponse(b *code_push.Branch) *pb.BranchResponse

func MarshalBytesResponse

func MarshalBytesResponse(bytes []byte) *pb.BytesResponse

func MarshalBytesToStringResponse

func MarshalBytesToStringResponse(bytes []byte) *pb.StringResponse

func MarshalEnvResponse

func MarshalEnvResponse(e *code_push.Env) *pb.EnvResponse

func MarshalVersionResponse

func MarshalVersionResponse(v *code_push.Version) *pb.VersionResponse

func NewCodePushServer

func NewCodePushServer(endpoints Endpoints, logger log.Logger) *codePushServer

func NewVersionReleaseParams

func NewVersionReleaseParams(request *pb.VersionReleaseRequest) *versionReleaseParams

func UnmarshalVersionReleaseParams

func UnmarshalVersionReleaseParams(request *pb.VersionReleaseRequest) usecase.VersionReleaseParams

Types

type Endpoints

type Endpoints interface {
	usecase.Branch
	usecase.Env
	usecase.Version
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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