Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNoStringMap = map[string]EnumNoString{
"NOSTRING": 0,
}
View Source
var EnumNoStringRevMap = map[EnumNoString]string{
0: "NOSTRING",
}
View Source
var TypesMap = map[string]Types{
"NONE": 0,
"BOZO": 1,
"BIPPY": 2,
"AGGLE": 3,
"FLAGGLE": 4,
}
View Source
var TypesRevMap = map[Types]string{
0: "NONE",
1: "BOZO",
2: "BIPPY",
3: "AGGLE",
4: "FLAGGLE",
}
Functions ¶
func SampleProtocol ¶
func SampleProtocol(i SampleInterface) rpc.Protocol
Types ¶
type Blurp ¶ added in v1.3.26
type Blurp struct {
B__ bool `codec:"b" json:"b"`
True__ *string `codec:"true,omitempty" json:"true,omitempty"`
False__ *int `codec:"false,omitempty" json:"false,omitempty"`
}
func NewBlurpWithFalse ¶ added in v1.3.26
func NewBlurpWithTrue ¶ added in v1.3.26
type Boozle ¶ added in v1.3.26
type Boozle struct {
Typ__ Types `codec:"typ" json:"typ"`
Bozo__ *int `codec:"bozo,omitempty" json:"bozo,omitempty"`
Bippy__ *string `codec:"bippy,omitempty" json:"bippy,omitempty"`
Aggle__ *[]int `codec:"aggle,omitempty" json:"aggle,omitempty"`
Flaggle__ *[]bool `codec:"flaggle,omitempty" json:"flaggle,omitempty"`
Default__ *int `codec:"default,omitempty" json:"default,omitempty"`
}
func NewBoozleDefault ¶ added in v1.3.26
func NewBoozleWithAggle ¶ added in v1.3.26
func NewBoozleWithBippy ¶ added in v1.3.26
func NewBoozleWithBozo ¶ added in v1.3.26
func NewBoozleWithFlaggle ¶ added in v1.3.26
type Cat ¶ added in v1.3.26
type Cat struct {
Bird map[Blurp]Noozle `codec:"bird" json:"bird"`
Bee map[string]Noozle `codec:"bee" json:"bee"`
Birds map[Blurp][]Noozle `codec:"birds" json:"birds"`
Pickles map[Blurp]int `codec:"pickles" json:"pickles"`
Penny map[string]int `codec:"penny" json:"penny"`
Pa map[int]string `codec:"pa" json:"pa"`
Wow []map[Blurp][]Noozle `codec:"wow" json:"wow"`
Boo []byte `codec:"boo" json:"boo"`
HooHah Hash `codec:"hooHah" json:"hooHah"`
// contains filtered or unexported fields
}
type EnumNoString ¶ added in v1.3.26
type EnumNoString int
const (
EnumNoString_NOSTRING EnumNoString = 0
)
func (EnumNoString) DeepCopy ¶ added in v1.3.26
func (o EnumNoString) DeepCopy() EnumNoString
type Noozle ¶ added in v1.3.26
type Noozle struct {
Version__ int `codec:"version" json:"version"`
Int1__ *string `codec:"int1,omitempty" json:"int1,omitempty"`
Int2__ *int `codec:"int2,omitempty" json:"int2,omitempty"`
}
func NewNoozleDefault ¶ added in v1.3.26
func NewNoozleWith1 ¶ added in v1.3.26
func NewNoozleWith2 ¶ added in v1.3.26
type NotifierArg ¶
type NotifierArg struct {
I int `codec:"i" json:"i"`
}
type ProcessBigBytesArg ¶ added in v1.3.26
type ProcessBigBytesArg struct {
Bytes BigBytes `codec:"bytes" json:"bytes"`
}
type R ¶
type R struct {
Bar keybase1.UID `codec:"bar" json:"bar"`
Baz keybase1.UID `codec:"baz" json:"baz_j_uid"`
}
R is a rad record.
type SampleClient ¶
type SampleClient struct {
Cli rpc.GenericClient
}
func (SampleClient) GetBaz ¶
GetBaz will get a baz like you wouldn't believe. If this baz isn't gotten, then I'll eat my hat
And then.
func (SampleClient) Notifier ¶
func (c SampleClient) Notifier(ctx context.Context, i int) (err error)
Notifier notifies the notifiee.
func (SampleClient) ProcessBigBytes ¶ added in v1.3.26
func (c SampleClient) ProcessBigBytes(ctx context.Context, bytes BigBytes) (err error)
ProcessBigBytes will try to process a bunch of bytes.
type SampleInterface ¶
type SampleInterface interface {
// GetBaz will get a baz like you wouldn't believe.
// If this baz isn't gotten, then I'll eat my hat
//
// And then.
GetBaz(context.Context, GetBazArg) (keybase1.SigID, error)
// Notifier notifies the notifiee.
Notifier(context.Context, int) error
// ProcessBigBytes will try to process a bunch of bytes.
ProcessBigBytes(context.Context, BigBytes) error
}
SampleInterface protocol is a sample among samples.
type Simple ¶ added in v1.3.26
type Simple struct {
S *Blurp `codec:"s,omitempty" json:"s,omitempty"`
}
type Trixie ¶ added in v1.3.26
type Trixie struct {
Typ__ Types `codec:"typ" json:"typ"`
Bippy__ *int `codec:"bippy,omitempty" json:"bippy,omitempty"`
Flaggle__ *EnumNoString `codec:"flaggle,omitempty" json:"flaggle,omitempty"`
}
func NewTrixieWithAggle ¶ added in v1.3.26
func NewTrixieWithAggle() Trixie
func NewTrixieWithBippy ¶ added in v1.3.26
func NewTrixieWithBozo ¶ added in v1.3.26
func NewTrixieWithBozo() Trixie
func NewTrixieWithFlaggle ¶ added in v1.3.26
func NewTrixieWithFlaggle(v EnumNoString) Trixie
func NewTrixieWithNone ¶ added in v1.3.26
func NewTrixieWithNone() Trixie
func (Trixie) Flaggle ¶ added in v1.3.26
func (o Trixie) Flaggle() (res EnumNoString)
Click to show internal directories.
Click to hide internal directories.