Documentation ¶ Index ¶ Variables type Endpoint func Join(base Endpoint, path string) Endpoint func New(path string) Endpoint func (m Endpoint) FormattedPath(format Format) string func (m Endpoint) Path() string type Format Constants ¶ This section is empty. Variables ¶ View Source var RootEndpoint = New(rootPath) Functions ¶ This section is empty. Types ¶ type Endpoint ¶ type Endpoint struct { // contains filtered or unexported fields } func Join ¶ func Join(base Endpoint, path string) Endpoint func New ¶ func New(path string) Endpoint func (Endpoint) FormattedPath ¶ func (m Endpoint) FormattedPath(format Format) string func (Endpoint) Path ¶ func (m Endpoint) Path() string type Format ¶ type Format int64 const ( LeadingSlash Format = iota TrailingSlash LeadingAndTrailingSlash NoSlash ) Source Files ¶ View all Source files endpoint.go Directories ¶ Show internal Expand all Path Synopsis v1_endpoint authorizor_endpoint blobber_endpoint chain_endpoint miner_endpoint sharder_endpoint validator_endpoint Click to show internal directories. Click to hide internal directories.