Documentation
¶
Index ¶
- Variables
- func SampleProtocol(i SampleInterface) rpc.Protocol
- type BigBytes
- type Blurp
- type Boozle
- type Cat
- type EnumNoString
- type GetBazArg
- type Hash
- type Joe
- type Noozle
- type NotifierArg
- 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 ¶ 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"` 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 ¶ 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 TeamInviteCategory ¶ added in v1.4.2
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 ¶ added in v1.4.2
func (o TeamInviteCategory) DeepCopy() TeamInviteCategory
func (TeamInviteCategory) String ¶ added in v1.4.2
func (e TeamInviteCategory) String() string
type TeamInviteType ¶ added in v1.4.2
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 ¶ added in v1.4.2
func NewTeamInviteTypeDefault(c TeamInviteCategory) TeamInviteType
func NewTeamInviteTypeWithSbs ¶ added in v1.4.2
func NewTeamInviteTypeWithSbs(v int) TeamInviteType
func NewTeamInviteTypeWithUnknown ¶ added in v1.4.2
func NewTeamInviteTypeWithUnknown(v string) TeamInviteType
func (*TeamInviteType) C ¶ added in v1.4.2
func (o *TeamInviteType) C() (ret TeamInviteCategory, err error)
func (TeamInviteType) DeepCopy ¶ added in v1.4.2
func (o TeamInviteType) DeepCopy() TeamInviteType
func (TeamInviteType) Sbs ¶ added in v1.4.2
func (o TeamInviteType) Sbs() (res int)
func (TeamInviteType) Unknown ¶ added in v1.4.2
func (o TeamInviteType) Unknown() (res string)
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.