rng

package
v0.0.0-...-fe3c5db Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package rng is a generated protocol buffer package.

It is generated from these files:

rng.proto

It has these top-level messages:

Source
RN

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRngServer

func RegisterRngServer(s *grpc.Server, srv RngServer)

Types

type RN

type RN struct {
	RN int64 `protobuf:"varint,1,opt,name=RN" json:"RN,omitempty"`
}

func (*RN) Descriptor

func (*RN) Descriptor() ([]byte, []int)

func (*RN) GetRN

func (m *RN) GetRN() int64

func (*RN) ProtoMessage

func (*RN) ProtoMessage()

func (*RN) Reset

func (m *RN) Reset()

func (*RN) String

func (m *RN) String() string

type RngClient

type RngClient interface {
	Rng(ctx context.Context, in *Source, opts ...grpc.CallOption) (*RN, error)
}

func NewRngClient

func NewRngClient(cc *grpc.ClientConn) RngClient

type RngServer

type RngServer interface {
	Rng(context.Context, *Source) (*RN, error)
}

type Source

type Source struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*Source) Descriptor

func (*Source) Descriptor() ([]byte, []int)

func (*Source) GetName

func (m *Source) GetName() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) Reset

func (m *Source) Reset()

func (*Source) String

func (m *Source) String() string

Jump to

Keyboard shortcuts

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