Documentation ¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "example.org" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/" )
Variables ¶
var Default = NewHTTPClient(nil)
Default go to social swagger documentation HTTP client.
var DefaultSchemes = []string{"http", "https", "wss"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type GoToSocialSwaggerDocumentation ¶
type GoToSocialSwaggerDocumentation struct { Accounts accounts.ClientService Admin admin.ClientService Apps apps.ClientService Blocks blocks.ClientService Bookmarks bookmarks.ClientService Conversations conversations.ClientService CustomEmojis custom_emojis.ClientService Debug debug.ClientService Favourites favourites.ClientService FeaturedTags featured_tags.ClientService Federation federation.ClientService Filters filters.ClientService FollowRequests follow_requests.ClientService Health health.ClientService Instance instance.ClientService InteractionPolicies interaction_policies.ClientService Lists lists.ClientService Markers markers.ClientService Media media.ClientService Mutes mutes.ClientService Nodeinfo nodeinfo.ClientService Notifications notifications.ClientService NrWellKnown nr_well_known.ClientService Polls polls.ClientService Preferences preferences.ClientService Reports reports.ClientService Search search.ClientService Statuses statuses.ClientService Streaming streaming.ClientService Timelines timelines.ClientService User user.ClientService Transport runtime.ClientTransport }
GoToSocialSwaggerDocumentation is a client for go to social swagger documentation
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *GoToSocialSwaggerDocumentation
New creates a new go to social swagger documentation client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *GoToSocialSwaggerDocumentation
NewHTTPClient creates a new go to social swagger documentation HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *GoToSocialSwaggerDocumentation
NewHTTPClientWithConfig creates a new go to social swagger documentation HTTP client, using a customizable transport config.
func (*GoToSocialSwaggerDocumentation) SetTransport ¶
func (c *GoToSocialSwaggerDocumentation) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
type TransportConfig ¶
TransportConfig contains the transport related info, found in the meta section of the spec file.
func DefaultTransportConfig ¶
func DefaultTransportConfig() *TransportConfig
DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.
func (*TransportConfig) WithBasePath ¶
func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig
WithBasePath overrides the default basePath, provided by the meta section of the spec file.
func (*TransportConfig) WithHost ¶
func (cfg *TransportConfig) WithHost(host string) *TransportConfig
WithHost overrides the default host, provided by the meta section of the spec file.
func (*TransportConfig) WithSchemes ¶
func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig
WithSchemes overrides the default schemes, provided by the meta section of the spec file.