Documentation
¶
Index ¶
- Variables
- func SampleProtocol(i SampleInterface) rpc.Protocol
- type BigBytes
- type Blurp
- type Boozle
- type BytesRecord
- type Cat
- type EnumNoString
- type GetBazArg
- type Hash
- type Joe
- type Noozle
- type NotifierArg
- type OptionalTypesRecord
- type ProcessBigBytesArg
- type R
- type SampleClient
- type SampleInterface
- type Simple
- type TeamInviteCategory
- type TeamInviteType
- type Trixie
- type Types
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 TeamInviteCategoryMap = map[string]TeamInviteCategory{
"NONE": 0,
"UNKNOWN": 1,
"KEYBASE": 2,
"EMAIL": 3,
"SBS": 4,
"SEITAN": 5,
"PHONE": 6,
}
View Source
var TeamInviteCategoryRevMap = map[TeamInviteCategory]string{
0: "NONE",
1: "UNKNOWN",
2: "KEYBASE",
3: "EMAIL",
4: "SBS",
5: "SEITAN",
6: "PHONE",
}
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 ¶
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 ¶
func NewBlurpWithTrue ¶
type Boozle ¶
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 ¶
func NewBoozleWithAggle ¶
func NewBoozleWithBippy ¶
func NewBoozleWithBozo ¶
func NewBoozleWithFlaggle ¶
type BytesRecord ¶
type BytesRecord struct {
Data []byte `codec:"data" json:"data"`
OptionalData *[]byte `codec:"optionalData,omitempty" json:"optionalData,omitempty"`
}
func (BytesRecord) DeepCopy ¶
func (o BytesRecord) DeepCopy() BytesRecord
type Cat ¶
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 ¶
type EnumNoString int
const (
EnumNoString_NOSTRING EnumNoString = 0
)
func (EnumNoString) DeepCopy ¶
func (o EnumNoString) DeepCopy() EnumNoString
type Noozle ¶
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 ¶
func NewNoozleWith1 ¶
func NewNoozleWith2 ¶
type NotifierArg ¶
type NotifierArg struct {
I int `codec:"i" json:"i"`
}
type OptionalTypesRecord ¶
type OptionalTypesRecord struct {
OptionalArray *[]int `codec:"optionalArray,omitempty" json:"optionalArray,omitempty"`
OptionalMap *map[string]string `codec:"optionalMap,omitempty" json:"optionalMap,omitempty"`
OptionalInt *int `codec:"optionalInt,omitempty" json:"optionalInt,omitempty"`
OptionalString *string `codec:"optionalString,omitempty" json:"optionalString,omitempty"`
OptionalBool *bool `codec:"optionalBool,omitempty" json:"optionalBool,omitempty"`
}
func (OptionalTypesRecord) DeepCopy ¶
func (o OptionalTypesRecord) DeepCopy() OptionalTypesRecord
type ProcessBigBytesArg ¶
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"`
Woop string `codec:"woop,omitempty" json:"woop,omitempty"`
}
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 ¶
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 ¶
type TeamInviteCategory ¶
type TeamInviteCategory int
const ( TeamInviteCategory_NONE TeamInviteCategory = 0 TeamInviteCategory_UNKNOWN TeamInviteCategory = 1 TeamInviteCategory_KEYBASE TeamInviteCategory = 2 TeamInviteCategory_EMAIL TeamInviteCategory = 3 TeamInviteCategory_SBS TeamInviteCategory = 4 TeamInviteCategory_SEITAN TeamInviteCategory = 5 TeamInviteCategory_PHONE TeamInviteCategory = 6 )
func (TeamInviteCategory) DeepCopy ¶
func (o TeamInviteCategory) DeepCopy() TeamInviteCategory
func (TeamInviteCategory) String ¶
func (o TeamInviteCategory) String() string
type TeamInviteType ¶
type TeamInviteType struct {
C__ TeamInviteCategory `codec:"c" json:"c"`
Unknown__ *string `codec:"unknown,omitempty" json:"unknown,omitempty"`
Sbs__ *int `codec:"sbs,omitempty" json:"sbs,omitempty"`
}
func NewTeamInviteTypeDefault ¶
func NewTeamInviteTypeDefault(c TeamInviteCategory) TeamInviteType
func NewTeamInviteTypeWithSbs ¶
func NewTeamInviteTypeWithSbs(v int) TeamInviteType
func NewTeamInviteTypeWithUnknown ¶
func NewTeamInviteTypeWithUnknown(v string) TeamInviteType
func (*TeamInviteType) C ¶
func (o *TeamInviteType) C() (ret TeamInviteCategory, err error)
func (TeamInviteType) DeepCopy ¶
func (o TeamInviteType) DeepCopy() TeamInviteType
func (TeamInviteType) Sbs ¶
func (o TeamInviteType) Sbs() (res int)
func (TeamInviteType) Unknown ¶
func (o TeamInviteType) Unknown() (res string)
type Trixie ¶
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 ¶
func NewTrixieWithAggle() Trixie
func NewTrixieWithBippy ¶
func NewTrixieWithBozo ¶
func NewTrixieWithBozo() Trixie
func NewTrixieWithFlaggle ¶
func NewTrixieWithFlaggle(v EnumNoString) Trixie
func NewTrixieWithNone ¶
func NewTrixieWithNone() Trixie
func (Trixie) Flaggle ¶
func (o Trixie) Flaggle() (res EnumNoString)
Click to show internal directories.
Click to hide internal directories.