server

package
v1.0.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromGowarcRecordType

func FromGowarcRecordType(recordType gowarc.RecordType) contentwriter.RecordType

func ToGowarcRecordType

func ToGowarcRecordType(recordType contentwriter.RecordType) gowarc.RecordType

Types

type ContentWriterService

type ContentWriterService struct {
	contentwriter.UnimplementedContentWriterServer
	// contains filtered or unexported fields
}

func (*ContentWriterService) Write

func (s *ContentWriterService) Write(stream contentwriter.ContentWriter_WriteServer) (err error)

type GrpcServer

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

func New

func New(host string, port int, settings settings.Settings, configCache database.ConfigCache) *GrpcServer

func (*GrpcServer) Shutdown

func (s *GrpcServer) Shutdown()

func (*GrpcServer) Start

func (s *GrpcServer) Start() error

Jump to

Keyboard shortcuts

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