Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { UseLocalAgent bool AgentURL string APIToken string Label string AutoAccept bool TransportReturnRoute string LoadRemoteDocuments bool LogLevel string Logger api.LoggerProvider Storage api.Provider DocumentLoader ld.DocumentLoader MsgHandler *msghandler.Registrar // expected to be ignored by gomobile // not intended to be used by golang code HTTPResolvers []string OutboundTransport []string WebsocketURL string WebsocketReadLimit int64 }
Options represents configurations for Aries.
func New ¶
func New() *Options
New returns an instance of Options which can be used to configure an aries controller instance.
func (*Options) AddHTTPResolver ¶
AddHTTPResolver appends an http resolver url to the options.
func (*Options) AddOutboundTransport ¶
AddOutboundTransport appends a transport type to the options e.g. http or ws.
Click to show internal directories.
Click to hide internal directories.