grpc_server

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknown        = Error{errCodeUnknown, "Unknown"}
	ErrInvalid        = Error{errCodeInvalid, "Invalid"}
	ErrUnrecognized   = Error{errCodeUnrecognized, "Unrecognized"}
	ErrNotImplemented = Error{errCodeNotImplemented, "Not Implemented"}
	ErrMalformed      = Error{errCodeMalformed, "Malformed"}
	ErrUnexpected     = Error{errCodeUnexpected, "Unexpected"}
	ErrMarshal        = Error{errCodeMarshal, "Marshal"}
)

Functions

This section is empty.

Types

type Error

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

func (Error) Error

func (e Error) Error() string

type Service added in v0.0.2

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

func NewService

func NewService(name string) *Service

func (*Service) ClientStream added in v0.0.3

func (s *Service) ClientStream(name string, fn clientStream)

func (*Service) ServerStream added in v0.0.3

func (s *Service) ServerStream(name string, fn serverStream)

func (*Service) Unary added in v0.0.3

func (s *Service) Unary(name string, fn handler)

Jump to

Keyboard shortcuts

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