api

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InternalError  = "/problems/internal-error"
	BadRequest     = "/problems/bad-request"
	Forbidden      = "/problems/forbidden"
	NotFound       = "/problems/not-found"
	NotImplemented = "/problems/not-implemented"
)

Error types

Variables

This section is empty.

Functions

func StringRef

func StringRef(s string) *string

StringRef takes the reference of a string.

Types

type Config

type Config struct {
	config.NoDefaulter
	config.NoValidator
	Addr string `toml:"addr,omitempty"`
}

func (*Config) ConfigName

func (cfg *Config) ConfigName() string

func (*Config) Sample

func (cfg *Config) Sample(dst io.Writer, path config.Path, _ config.CtxMap)

Directories

Path Synopsis
cppki
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
health
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
Package jwtauth includes helper functions for creating HTTP clients and servers that can perform JWT authorization via Bearer tokens.
Package jwtauth includes helper functions for creating HTTP clients and servers that can perform JWT authorization via Bearer tokens.
segments
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
api/mock_api
Package mock_api is a generated GoMock package.
Package mock_api is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL