gidsrv

package
v0.0.0-...-48c4086 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	gidpb.IdClient
}

func NewClient

func NewClient(cfg *grpcc_config.Cfg, log *logging.Logger) *Client

type Id

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

func (*Id) Generate

func (id *Id) Generate(ctx context.Context, req *gidpb.GenerateRequest) (*gidpb.GenerateResponse, error)

func (*Id) GetTypes

func (id *Id) GetTypes() []string

func (*Id) Types

func (id *Id) Types(ctx context.Context, req *gidpb.TypesRequest) (*gidpb.TypesResponse, error)

type Service

type Service interface {
	gidpb.IdServer
	GetTypes() []string
}

func New

func New(cc *Client) Service

Jump to

Keyboard shortcuts

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