service

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGWIncludeExpired = false
	DefaultGWStartAfter     = ""
	DefaultGWLimit          = ""
)

Variables

This section is empty.

Functions

func Consume

func Consume(w http.ResponseWriter, res interface{}, err error, xnsContext *types.XnsContext)

Types

type QueryResponse

type QueryResponse struct {
	Data interface{} `json:"data"`
}

func ParseResponse

func ParseResponse(res string) (*QueryResponse, error)

type Service

type Service interface {
	Name() string
	Router(*types.XnsContext, *chi.Mux) *chi.Mux
}

Directories

Path Synopsis
cli
cli
cli
cli

Jump to

Keyboard shortcuts

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