apisession

package
Version: v0.0.0-...-d169734 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ApiSession_Params_TypeID = 0xfee82d8d4c4ff597

ApiSession_Params_TypeID is the unique identifier for the type ApiSession_Params.

View Source
const ApiSession_PowerboxTag_OAuthScope_TypeID = 0xbb95f31093b1fd88

ApiSession_PowerboxTag_OAuthScope_TypeID is the unique identifier for the type ApiSession_PowerboxTag_OAuthScope.

View Source
const ApiSession_PowerboxTag_TypeID = 0x93e1f7ca567dee32

ApiSession_PowerboxTag_TypeID is the unique identifier for the type ApiSession_PowerboxTag.

View Source
const ApiSession_TypeID = 0xc879e379c625cdc7

ApiSession_TypeID is the unique identifier for the type ApiSession.

Variables

This section is empty.

Functions

func ApiSession_Methods

func ApiSession_Methods(methods []server.Method, s ApiSession_Server) []server.Method

ApiSession_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func ApiSession_NewServer

func ApiSession_NewServer(s ApiSession_Server, policy *server.Policy) *server.Server

ApiSession_NewServer creates a new Server from an implementation of ApiSession_Server.

Types

type ApiSession

type ApiSession struct{ Client *capnp.Client }

func ApiSession_ServerToClient

func ApiSession_ServerToClient(s ApiSession_Server, policy *server.Policy) ApiSession

ApiSession_ServerToClient creates a new Client from an implementation of ApiSession_Server. The caller is responsible for calling Release on the returned Client.

type ApiSession_Params

type ApiSession_Params struct{ capnp.Struct }

func NewApiSession_Params

func NewApiSession_Params(s *capnp.Segment) (ApiSession_Params, error)

func NewRootApiSession_Params

func NewRootApiSession_Params(s *capnp.Segment) (ApiSession_Params, error)

func ReadRootApiSession_Params

func ReadRootApiSession_Params(msg *capnp.Message) (ApiSession_Params, error)

func (ApiSession_Params) HasRemoteAddress

func (s ApiSession_Params) HasRemoteAddress() bool

func (ApiSession_Params) NewRemoteAddress

func (s ApiSession_Params) NewRemoteAddress() (ip.IpAddress, error)

NewRemoteAddress sets the remoteAddress field to a newly allocated ip.IpAddress struct, preferring placement in s's segment.

func (ApiSession_Params) RemoteAddress

func (s ApiSession_Params) RemoteAddress() (ip.IpAddress, error)

func (ApiSession_Params) SetRemoteAddress

func (s ApiSession_Params) SetRemoteAddress(v ip.IpAddress) error

func (ApiSession_Params) String

func (s ApiSession_Params) String() string

type ApiSession_Params_Future

type ApiSession_Params_Future struct{ *capnp.Future }

ApiSession_Params_Future is a wrapper for a ApiSession_Params promised by a client call.

func (ApiSession_Params_Future) RemoteAddress

func (p ApiSession_Params_Future) RemoteAddress() ip.IpAddress_Future

func (ApiSession_Params_Future) Struct

type ApiSession_Params_List

type ApiSession_Params_List struct{ capnp.List }

ApiSession_Params_List is a list of ApiSession_Params.

func NewApiSession_Params_List

func NewApiSession_Params_List(s *capnp.Segment, sz int32) (ApiSession_Params_List, error)

NewApiSession_Params creates a new list of ApiSession_Params.

func (ApiSession_Params_List) At

func (ApiSession_Params_List) Set

func (ApiSession_Params_List) String

func (s ApiSession_Params_List) String() string

type ApiSession_PowerboxTag

type ApiSession_PowerboxTag struct{ capnp.Struct }

func NewApiSession_PowerboxTag

func NewApiSession_PowerboxTag(s *capnp.Segment) (ApiSession_PowerboxTag, error)

func NewRootApiSession_PowerboxTag

func NewRootApiSession_PowerboxTag(s *capnp.Segment) (ApiSession_PowerboxTag, error)

func ReadRootApiSession_PowerboxTag

func ReadRootApiSession_PowerboxTag(msg *capnp.Message) (ApiSession_PowerboxTag, error)

func (ApiSession_PowerboxTag) Authentication

func (s ApiSession_PowerboxTag) Authentication() (string, error)

func (ApiSession_PowerboxTag) AuthenticationBytes

func (s ApiSession_PowerboxTag) AuthenticationBytes() ([]byte, error)

func (ApiSession_PowerboxTag) CanonicalUrl

func (s ApiSession_PowerboxTag) CanonicalUrl() (string, error)

func (ApiSession_PowerboxTag) CanonicalUrlBytes

func (s ApiSession_PowerboxTag) CanonicalUrlBytes() ([]byte, error)

func (ApiSession_PowerboxTag) HasAuthentication

func (s ApiSession_PowerboxTag) HasAuthentication() bool

func (ApiSession_PowerboxTag) HasCanonicalUrl

func (s ApiSession_PowerboxTag) HasCanonicalUrl() bool

func (ApiSession_PowerboxTag) HasOauthScopes

func (s ApiSession_PowerboxTag) HasOauthScopes() bool

func (ApiSession_PowerboxTag) NewOauthScopes

NewOauthScopes sets the oauthScopes field to a newly allocated ApiSession_PowerboxTag_OAuthScope_List, preferring placement in s's segment.

func (ApiSession_PowerboxTag) OauthScopes

func (ApiSession_PowerboxTag) SetAuthentication

func (s ApiSession_PowerboxTag) SetAuthentication(v string) error

func (ApiSession_PowerboxTag) SetCanonicalUrl

func (s ApiSession_PowerboxTag) SetCanonicalUrl(v string) error

func (ApiSession_PowerboxTag) SetOauthScopes

func (ApiSession_PowerboxTag) String

func (s ApiSession_PowerboxTag) String() string

type ApiSession_PowerboxTag_Future

type ApiSession_PowerboxTag_Future struct{ *capnp.Future }

ApiSession_PowerboxTag_Future is a wrapper for a ApiSession_PowerboxTag promised by a client call.

func (ApiSession_PowerboxTag_Future) Struct

type ApiSession_PowerboxTag_List

type ApiSession_PowerboxTag_List struct{ capnp.List }

ApiSession_PowerboxTag_List is a list of ApiSession_PowerboxTag.

func NewApiSession_PowerboxTag_List

func NewApiSession_PowerboxTag_List(s *capnp.Segment, sz int32) (ApiSession_PowerboxTag_List, error)

NewApiSession_PowerboxTag creates a new list of ApiSession_PowerboxTag.

func (ApiSession_PowerboxTag_List) At

func (ApiSession_PowerboxTag_List) Set

func (ApiSession_PowerboxTag_List) String

type ApiSession_PowerboxTag_OAuthScope

type ApiSession_PowerboxTag_OAuthScope struct{ capnp.Struct }

func NewApiSession_PowerboxTag_OAuthScope

func NewApiSession_PowerboxTag_OAuthScope(s *capnp.Segment) (ApiSession_PowerboxTag_OAuthScope, error)

func NewRootApiSession_PowerboxTag_OAuthScope

func NewRootApiSession_PowerboxTag_OAuthScope(s *capnp.Segment) (ApiSession_PowerboxTag_OAuthScope, error)

func ReadRootApiSession_PowerboxTag_OAuthScope

func ReadRootApiSession_PowerboxTag_OAuthScope(msg *capnp.Message) (ApiSession_PowerboxTag_OAuthScope, error)

func (ApiSession_PowerboxTag_OAuthScope) HasName

func (ApiSession_PowerboxTag_OAuthScope) Name

func (ApiSession_PowerboxTag_OAuthScope) NameBytes

func (s ApiSession_PowerboxTag_OAuthScope) NameBytes() ([]byte, error)

func (ApiSession_PowerboxTag_OAuthScope) SetName

func (ApiSession_PowerboxTag_OAuthScope) String

type ApiSession_PowerboxTag_OAuthScope_Future

type ApiSession_PowerboxTag_OAuthScope_Future struct{ *capnp.Future }

ApiSession_PowerboxTag_OAuthScope_Future is a wrapper for a ApiSession_PowerboxTag_OAuthScope promised by a client call.

func (ApiSession_PowerboxTag_OAuthScope_Future) Struct

type ApiSession_PowerboxTag_OAuthScope_List

type ApiSession_PowerboxTag_OAuthScope_List struct{ capnp.List }

ApiSession_PowerboxTag_OAuthScope_List is a list of ApiSession_PowerboxTag_OAuthScope.

func NewApiSession_PowerboxTag_OAuthScope_List

func NewApiSession_PowerboxTag_OAuthScope_List(s *capnp.Segment, sz int32) (ApiSession_PowerboxTag_OAuthScope_List, error)

NewApiSession_PowerboxTag_OAuthScope creates a new list of ApiSession_PowerboxTag_OAuthScope.

func (ApiSession_PowerboxTag_OAuthScope_List) At

func (ApiSession_PowerboxTag_OAuthScope_List) Set

func (ApiSession_PowerboxTag_OAuthScope_List) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL