elwin

package
v0.0.0-...-f5f25a8 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package elwin is a generated protocol buffer package.

It is generated from these files:

elwin.proto

It has these top-level messages:

Identifier
Experiments
Experiment
Param

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterElwinServer

func RegisterElwinServer(s *grpc.Server, srv ElwinServer)

Types

type ElwinClient

type ElwinClient interface {
	GetNamespaces(ctx context.Context, in *Identifier, opts ...grpc.CallOption) (*Experiments, error)
}

func NewElwinClient

func NewElwinClient(cc *grpc.ClientConn) ElwinClient

type ElwinServer

type ElwinServer interface {
	GetNamespaces(context.Context, *Identifier) (*Experiments, error)
}

type Experiment

type Experiment struct {
	Params []*Param `protobuf:"bytes,2,rep,name=params" json:"params,omitempty"`
}

func (*Experiment) Descriptor

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

func (*Experiment) GetParams

func (m *Experiment) GetParams() []*Param

func (*Experiment) ProtoMessage

func (*Experiment) ProtoMessage()

func (*Experiment) Reset

func (m *Experiment) Reset()

func (*Experiment) String

func (m *Experiment) String() string

type Experiments

type Experiments struct {
	Experiments map[string]*Experiment `` /* 142-byte string literal not displayed */
}

func (*Experiments) Descriptor

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

func (*Experiments) GetExperiments

func (m *Experiments) GetExperiments() map[string]*Experiment

func (*Experiments) ProtoMessage

func (*Experiments) ProtoMessage()

func (*Experiments) Reset

func (m *Experiments) Reset()

func (*Experiments) String

func (m *Experiments) String() string

type Identifier

type Identifier struct {
	TeamID string `protobuf:"bytes,1,opt,name=teamID" json:"teamID,omitempty"`
	UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"`
}

func (*Identifier) Descriptor

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

func (*Identifier) ProtoMessage

func (*Identifier) ProtoMessage()

func (*Identifier) Reset

func (m *Identifier) Reset()

func (*Identifier) String

func (m *Identifier) String() string

type Param

type Param struct {
	Name  string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

func (*Param) Descriptor

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

func (*Param) ProtoMessage

func (*Param) ProtoMessage()

func (*Param) Reset

func (m *Param) Reset()

func (*Param) String

func (m *Param) String() string

Jump to

Keyboard shortcuts

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