MCPcopy
hub / github.com/Jrohy/multi-v2ray / load_template

Method load_template

v2ray_util/util_core/writer.py:55–61  ·  view source on GitHub ↗

load special template

(self, template_name)

Source from the content-addressed store, hash-verified

53 return config
54
55 def load_template(self, template_name):
56 '''
57 load special template
58 '''
59 with open(self.template_path + "/" + template_name, 'r') as stream_file:
60 template = json.load(stream_file)
61 return template
62
63 def save(self):
64 '''

Callers 6

to_kcpMethod · 0.80
writeMethod · 0.80
write_dypMethod · 0.80
write_tlsMethod · 0.80
write_statsMethod · 0.80
create_new_portMethod · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected