grpc

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalBranchResponse

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

func MarshalBytesResponse

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

func MarshalBytesToStringResponse

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

func MarshalEnvListResponse

func MarshalEnvListResponse(es []*daemon.Env) *pb.EnvListResponse

func MarshalEnvResponse

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

func MarshalVersionList

func MarshalVersionList(l daemon.VersionList) *pb.VersionListResponse

func MarshalVersionResponse

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

func NewServer

func NewServer(configFn func(*ServerConfig)) *server

func NewVersionReleaseParams

func NewVersionReleaseParams(request *pb.VersionReleaseRequest) *versionReleaseParams

func UnmarshalVersionReleaseParams

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

Types

type ServerConfig

type ServerConfig struct {
	usecase.UseCase
	log.Logger
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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