service

package
v0.0.0-...-b31dffb Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authority

type Authority struct {
	pb.UnimplementedAuthorityServer // required by gRPC
	// contains filtered or unexported fields
}

Authority is our gRPC service implementation.

func New

func New(dataFilePath string) *Authority

New creates a new Authority using the data in dataFilePath.

func (*Authority) Servers

func (a *Authority) Servers(req *pb.ServersReq, stream pb.Authority_ServersServer) error

Servers implements the gRPC AuthorityServer.Servers() method.

Jump to

Keyboard shortcuts

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